﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin/Admin.Master" Inherits="System.Web.Mvc.ViewPage<ShopOnline.Models.Press>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Delete
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

          <div class="w_container m10-tb  fl">
            <div class="sub_container fl">
                <form method="post" enctype="multipart/form-data" id="formID" class="formular">
                <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                        Tiêu đề
                    </div>
                    <div class="input-item fl">
                       <%= Html.Encode(Model.title) %>
                    </div>
                </div>
                <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                        Sơ lược
                    </div>
                    <div class="input-item fl">
                         <%= Html.Encode(Model.description) %>
                    </div>
                </div>
                <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                        Nội dung
                    </div>
                    <div class="input-item fl">
                          <%= Model.body %>
                    </div>
                </div>
                
                
                <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                        Ngày tạo 
                    </div>
                    <div class="input-item fl">
                      <%= Html.Encode(String.Format("{0:g}", Model.dateCreate)) %>
                    </div>
                </div>
                
                </form>
            </div>
        </div>
    </div>
    <% using (Html.BeginForm()) { %>
        <p>
		    <input type="submit" value="Delete" class="ui-state-default ui-corner-all button fl"/> |
		    <%= Html.ActionLink("Back to List", "AdminListPress", "Press", new { @class="ui-state-default ui-corner-all button fl"})%>
        </p>
    <% } %>

</asp:Content>

